Tree scripting

You can create advanced, multi-level, voice scripts that allow a caller to choose from a number of available (or hidden) options.

A tree script starts with the 'menu' command. This command allows you to add further commands, linked to the 'menu' command, via menu items. Menu items correspond to the touchtone pressed by the caller.

An example:

A script which contains two available commands and a hidden command (Remote Access).

  1. The menu could play a message similar to "Hello...you're connected to our voice server. Press 1 to be transferred to an operator or press 2 to leave a message for a correspondent".

  2. If the caller presses '1', they are put through to the 'Call Operator' command where STFax would contact the operator.

  3. If the caller presses '2', they are asked to record a message (with an option to replay and record their recorded message).

  4. If the caller presses '9', they enter the Remote Access system, and are asked to enter their account ID and password.

  5. If the caller presses any touchtone other than '1', '2' or '9', they would be played "Sorry, the touchtone you pressed does not support any available feature".


Example 2 : Combining The Tree Script And Dual Commands

You are able to combine a tree script with dual commands, in order to support a multitude of options.

  1. The menu could play a message similar to "Hello...you're connected to our voice server. Press 1 to be transferred to an operator or press 2 to leave a message for a correspondent".

  2. If the caller doesn't press any touchtone (if they don't have a touchtone phone, for example), the 'Menu' command would have a timeout option which would move to the next available command within the tree script. Within this example, this would be the 'Call Operator' command. So, if the user fails to enter a touchtone, the 'Menu' command could be set to timeout after, say, 30 seconds, and to contact the operator for assistance.

  3. If the caller presses '1', they are put through to the 'Call Operator' command where STFax would contact the operator.

    If the operator fails to answer the incoming call (perhaps they are busy), the caller could be given the option to record a message instead. The caller would move to the 'Record Msg' command, to record their message.

  4. If the caller presses '2', they are asked to record a message (with an option to replay and record their recorded message).

  5. If the caller presses '9', they enter the Remote Access system, and are asked to enter their account ID and password.

  6. If the caller presses any touchtone other than '1', '2' or '9', they would be played "Sorry, the touchtone you pressed does not support any available feature".


Example 3 : Embedded Menus - Choose Voice Box

The 'Menu' command is not solely restricted to use as the root command (ie. first command within the tree script). The 'Menu' command can also be utilised within the advanced tree script.

In the following example, the 'Menu' command is used to direct a user to a voice box:

  1. The 'Menu' command greets the incoming caller with something like "Hello...you're connected to our voice server. Press 1 for sales, press 2 for technical support, press 3 to leave a message for a correspondent or hold for an operator.

  2. If the caller presses '1' they would be automatically transferred to a sales operator.

  3. If the caller presses '2' the would be automatically transferred to a support operator.

  4. If the caller presses '3' they would be directed to the 'Menu' command which controls access to the various voice boxes. This menu greeting could play something similar to "Press 1 for John Smith, press 2 for Julian Smith, press 3 for Rebecca Smith or press 4 for Mark Smith".

  5. If the caller presses '0' they enter the 'Remote Access' system and are asked to enter their account ID and password.


Example 4 - Embedded Menus - Choose Extension

In the following example, the 'Menu' command will be embedded into a tree script in order to a) play a list of available extensions, b) listen for touchtone input from the caller and then c) direct to the correct 'Transfer Caller' command, in order to direct the caller to the correct extension.

  1. The 'Menu' command greets the incoming caller with something like "Hello...you're connected to our voice server. Press 1 for sales, press 2 for technical support, press 3 for a list of available extensions or hold for an operator.

  2. If the caller presses '1' they would be automatically transferred to a sales operator.

  3. If the caller presses '2' the would be automatically transferred to a support operator.

  4. If the caller presses '3' they would be directed to the 'Menu' command which would play the list of available extensions. This message could be "Enter 1 to be transferred to Mark Smith, enter 2 for Sue Smith, enter 3 for Rebecca Smith, enter 4 for Julian Smith, enter 5 for Sam Smith or enter 6 for Thomas Smith", with the message being looped.

  5. If the caller presses '0' they enter the 'Remote Access' system and are asked to enter their account ID and password.